package com.woniu.mapper.sportsHealth;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.woniu.model.sportsHealth.entity.BloodTemperature;
import com.woniu.model.sportsHealth.model.dto.BloodTemperatureDto;
import com.woniu.model.sportsHealth.model.vo.BloodTemperatureVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 体温表 Mapper 接口
 * </p>
 *
 * @author Jet
 * @since 2023-10-23
 */
@Mapper
public interface BloodTemperatureMapper extends BaseMapper<BloodTemperature> {

    List<BloodTemperatureDto> findAll(Map<String,Object> param);
    @Select("select account,name,measure_date,measure_time,temperature from sh_blood_temperature " +
            " inner join sh_user su on sh_user_id = su.user_id")
    List<BloodTemperatureVo> findAllExport();
}
